package model;

public class Item {

	private String date = null;
	private String type = null;
	private String tel = null;
	private String duration = null;
	private String cost = null;
	
	public Item() {
		
	}
	
	public Item(String d, String t, String dur, String phone, String c) {
		date = d;
		type = t;
		tel = phone;
		duration = dur;
		cost = c;
	}
	
	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}
	
	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}
	
	public String toString() {
		return getTel()+"@"+getDate()+"@"+getCost()+"@"+getDuration()+"@"+getType();
	}
}
